package com.huike.common.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 课程管理
 * </p>
 *
 * @author author
 * @since 2023-08-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_course")
@ApiModel(value="TbCourse对象", description="课程管理")
public class MPTbCourse implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "课程id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String code;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "学科")
    private String subject;

    @ApiModelProperty(value = "浠锋牸")
    private Integer price;

    private String applicablePerson;

    @ApiModelProperty(value = "课程描述信息")
    private String info;

    private LocalDateTime createTime;

    @ApiModelProperty(value = "是否删除 1 是")
    @TableLogic
    private Integer isDelete;


}
